#include "CFASTData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::FEM;

bool SG::DataStructure::FEM::operator== (const CFASTData& val1, const CFASTData& val2)
{
    FIELD_COMPARE (m_id)
    FIELD_COMPARE (m_pId)
    FIELD_COMPARE (m_cId)
    FIELD_COMPARE_ARR (m_type, 4)
    FIELD_COMPARE (m_ida)
    FIELD_COMPARE (m_idb)
    FIELD_COMPARE (m_gs)
    FIELD_COMPARE_ARR (m_g, 2)
    FIELD_COMPARE_ARR (m_gh, 8)
    FIELD_COMPARE (m_xs)
    FIELD_COMPARE (m_ys)
    FIELD_COMPARE (m_zs)
    FIELD_COMPARE (m_domainId)
    return true;
}